package com.dongge;

/**
 * Created by zhudong on 2016/9/12.
 */
public class Base <T>{
    private Class<T> entityClass;

    public Base() {
        entityClass = ReflectUtil.getClassGenricType(getClass());
        System.out.println(entityClass);
    }

    public T newSub()throws Exception{
        return entityClass.newInstance();
    }
}
